package cumeo89.chii.client.ui;

import com.google.gwt.user.client.ui.Widget;

public class TrivialNamedPanel extends TrivialPanel implements NamedPanel {
	
	public TrivialNamedPanel(String tag, String[] names) {
		super(tag);
		helper = new NamedPanelHelper(this, names);
	}

	private NamedPanelHelper helper;

	public void setWidget(String name, Widget widget) {
		helper.setWidget(name, widget);
	}

	public Widget removeWidget(String name) {
		return helper.removeWidget(name);
	}
	
}
